//
//  UINavigationController+SettingColor.m
//  JiaXiHeZi
//
//  Created by 郑信鸿 on 16/5/13.
//  Copyright © 2016年 郑信鸿. All rights reserved.
//

#import "UINavigationController+SettingColor.h"

@implementation UINavigationController (SettingColor)

- (void)setNavigationTitleColor:(UIColor *)color
{
    NSDictionary * dict = @{
                            NSFontAttributeName:[UIFont systemFontOfSize:17],
                            NSForegroundColorAttributeName:color
                            };
   // [NSDictionary dictionaryWithObject:color forKey:NSForegroundColorAttributeName];
    self.navigationBar.titleTextAttributes = dict;
}

- (void)setNavigationBarShadowImage{
    
      [self.navigationBar setShadowImage:[UIImage imageNamed:@"touying"]];
}

- (void)hideNavigationBarShadowImage{
    
    [self.navigationBar setShadowImage:[UIImage new]];

}

@end
